﻿using System;
using FriendStar.Code;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using FriendStar.Application.VBaseData;
using FriendStar.Domain.Entity.VBaseData;

namespace FriendStar.Web.Areas.VBaseData.Controllers
{
    public class V_CPK_22_CK_StoStorageCard_MidController : Controller
    {
        //
        // GET: /VBaseData/V_CPK_22_CK_StoStorageCard_Mid/
        private V_CPK_22_CK_StoStorageCard_MidApp v_cpk_22_CK_StoStorageCard_MidApp = new V_CPK_22_CK_StoStorageCard_MidApp();
        [HttpGet]
        [HandlerAjaxOnly]
        public ActionResult GetGridJson(Pagination pagination, string FSupplierNO, string FProductionNO, string FCurDate, string FAccountDate, string FStoreSetNO, string FVoucherNo, string type)
        {
            var data = v_cpk_22_CK_StoStorageCard_MidApp.GetList(pagination,FSupplierNO,FProductionNO,FCurDate, FAccountDate,FStoreSetNO,FVoucherNo,type);
            return Content(data.ToJson());
        }
    }
}
